import axios from "@/axios.js"

export function pageQueryArticle(current, size) {
    const data = {
        "current": current,
        "size": size
    }
    return axios.post("/article/list",data)
}

export function queryArticleDetail(id) {
    return axios.post("/article/detail", {id})
}